package thread;

public class TesteProdCons {

    public static void main(String[] args) {
        for (int i = 1; i <= 10; i++) {
            new ThProdCons(true, i).start();//inicializando o construtor
            new ThProdCons(false, i).start();//inicializando o construtor
        }
    }
}
